﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000327 RID: 807
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkUseBuffScRsp : IMessage<ClockParkUseBuffScRsp>, IMessage, IEquatable<ClockParkUseBuffScRsp>, IDeepCloneable<ClockParkUseBuffScRsp>, IBufferMessage
	{
		// Token: 0x17000A6E RID: 2670
		// (get) Token: 0x06002417 RID: 9239 RVA: 0x00065D84 File Offset: 0x00063F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkUseBuffScRsp> Parser
		{
			get
			{
				return ClockParkUseBuffScRsp._parser;
			}
		}

		// Token: 0x17000A6F RID: 2671
		// (get) Token: 0x06002418 RID: 9240 RVA: 0x00065D8B File Offset: 0x00063F8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkUseBuffScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A70 RID: 2672
		// (get) Token: 0x06002419 RID: 9241 RVA: 0x00065D9D File Offset: 0x00063F9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkUseBuffScRsp.Descriptor;
			}
		}

		// Token: 0x0600241A RID: 9242 RVA: 0x00065DA4 File Offset: 0x00063FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffScRsp()
		{
		}

		// Token: 0x0600241B RID: 9243 RVA: 0x00065DAC File Offset: 0x00063FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffScRsp(ClockParkUseBuffScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueBuffInfo_ = ((other.rogueBuffInfo_ != null) ? other.rogueBuffInfo_.Clone() : null);
			this.bEBCFIIABLI_ = other.bEBCFIIABLI_;
			this.scriptId_ = other.scriptId_;
			ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase bcbeccihnjecase = other.BCBECCIHNJECase;
			if (bcbeccihnjecase != ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
			{
				if (bcbeccihnjecase == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
				{
					this.IFAJDNNCHMN = other.IFAJDNNCHMN.Clone();
				}
			}
			else
			{
				this.PFBOBBMELFB = other.PFBOBBMELFB.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600241C RID: 9244 RVA: 0x00065E4B File Offset: 0x0006404B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffScRsp Clone()
		{
			return new ClockParkUseBuffScRsp(this);
		}

		// Token: 0x17000A71 RID: 2673
		// (get) Token: 0x0600241D RID: 9245 RVA: 0x00065E53 File Offset: 0x00064053
		// (set) Token: 0x0600241E RID: 9246 RVA: 0x00065E5B File Offset: 0x0006405B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000A72 RID: 2674
		// (get) Token: 0x0600241F RID: 9247 RVA: 0x00065E64 File Offset: 0x00064064
		// (set) Token: 0x06002420 RID: 9248 RVA: 0x00065E6C File Offset: 0x0006406C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MGGJKPGEGLP RogueBuffInfo
		{
			get
			{
				return this.rogueBuffInfo_;
			}
			set
			{
				this.rogueBuffInfo_ = value;
			}
		}

		// Token: 0x17000A73 RID: 2675
		// (get) Token: 0x06002421 RID: 9249 RVA: 0x00065E75 File Offset: 0x00064075
		// (set) Token: 0x06002422 RID: 9250 RVA: 0x00065E7D File Offset: 0x0006407D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BEBCFIIABLI
		{
			get
			{
				return this.bEBCFIIABLI_;
			}
			set
			{
				this.bEBCFIIABLI_ = value;
			}
		}

		// Token: 0x17000A74 RID: 2676
		// (get) Token: 0x06002423 RID: 9251 RVA: 0x00065E86 File Offset: 0x00064086
		// (set) Token: 0x06002424 RID: 9252 RVA: 0x00065E8E File Offset: 0x0006408E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x17000A75 RID: 2677
		// (get) Token: 0x06002425 RID: 9253 RVA: 0x00065E97 File Offset: 0x00064097
		// (set) Token: 0x06002426 RID: 9254 RVA: 0x00065EB3 File Offset: 0x000640B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGHBHAIGMG IFAJDNNCHMN
		{
			get
			{
				if (this.bCBECCIHNJECase_ != ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
				{
					return null;
				}
				return (OJGHBHAIGMG)this.bCBECCIHNJE_;
			}
			set
			{
				this.bCBECCIHNJE_ = value;
				this.bCBECCIHNJECase_ = ((value == null) ? ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.None : ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN);
			}
		}

		// Token: 0x17000A76 RID: 2678
		// (get) Token: 0x06002427 RID: 9255 RVA: 0x00065ECD File Offset: 0x000640CD
		// (set) Token: 0x06002428 RID: 9256 RVA: 0x00065EE9 File Offset: 0x000640E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AMIGGMENHFA PFBOBBMELFB
		{
			get
			{
				if (this.bCBECCIHNJECase_ != ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
				{
					return null;
				}
				return (AMIGGMENHFA)this.bCBECCIHNJE_;
			}
			set
			{
				this.bCBECCIHNJE_ = value;
				this.bCBECCIHNJECase_ = ((value == null) ? ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.None : ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB);
			}
		}

		// Token: 0x17000A77 RID: 2679
		// (get) Token: 0x06002429 RID: 9257 RVA: 0x00065F03 File Offset: 0x00064103
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase BCBECCIHNJECase
		{
			get
			{
				return this.bCBECCIHNJECase_;
			}
		}

		// Token: 0x0600242A RID: 9258 RVA: 0x00065F0B File Offset: 0x0006410B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearBCBECCIHNJE()
		{
			this.bCBECCIHNJECase_ = ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.None;
			this.bCBECCIHNJE_ = null;
		}

		// Token: 0x0600242B RID: 9259 RVA: 0x00065F1B File Offset: 0x0006411B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkUseBuffScRsp);
		}

		// Token: 0x0600242C RID: 9260 RVA: 0x00065F2C File Offset: 0x0006412C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkUseBuffScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueBuffInfo, other.RogueBuffInfo) && this.BEBCFIIABLI == other.BEBCFIIABLI && this.ScriptId == other.ScriptId && object.Equals(this.IFAJDNNCHMN, other.IFAJDNNCHMN) && object.Equals(this.PFBOBBMELFB, other.PFBOBBMELFB) && this.BCBECCIHNJECase == other.BCBECCIHNJECase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600242D RID: 9261 RVA: 0x00065FD4 File Offset: 0x000641D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueBuffInfo_ != null)
			{
				num ^= this.RogueBuffInfo.GetHashCode();
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num ^= this.BEBCFIIABLI.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
			{
				num ^= this.IFAJDNNCHMN.GetHashCode();
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
			{
				num ^= this.PFBOBBMELFB.GetHashCode();
			}
			num ^= (int)this.bCBECCIHNJECase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600242E RID: 9262 RVA: 0x0006609A File Offset: 0x0006429A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600242F RID: 9263 RVA: 0x000660A2 File Offset: 0x000642A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002430 RID: 9264 RVA: 0x000660AC File Offset: 0x000642AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueBuffInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueBuffInfo);
			}
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.BEBCFIIABLI);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
			{
				output.WriteRawTag(130, 24);
				output.WriteMessage(this.PFBOBBMELFB);
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
			{
				output.WriteRawTag(130, 127);
				output.WriteMessage(this.IFAJDNNCHMN);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002431 RID: 9265 RVA: 0x0006618C File Offset: 0x0006438C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueBuffInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueBuffInfo);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BEBCFIIABLI);
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.IFAJDNNCHMN);
			}
			if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.PFBOBBMELFB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002432 RID: 9266 RVA: 0x0006624C File Offset: 0x0006444C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkUseBuffScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueBuffInfo_ != null)
			{
				if (this.rogueBuffInfo_ == null)
				{
					this.RogueBuffInfo = new MGGJKPGEGLP();
				}
				this.RogueBuffInfo.MergeFrom(other.RogueBuffInfo);
			}
			if (other.BEBCFIIABLI != 0U)
			{
				this.BEBCFIIABLI = other.BEBCFIIABLI;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase bcbeccihnjecase = other.BCBECCIHNJECase;
			if (bcbeccihnjecase != ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
			{
				if (bcbeccihnjecase == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
				{
					if (this.IFAJDNNCHMN == null)
					{
						this.IFAJDNNCHMN = new OJGHBHAIGMG();
					}
					this.IFAJDNNCHMN.MergeFrom(other.IFAJDNNCHMN);
				}
			}
			else
			{
				if (this.PFBOBBMELFB == null)
				{
					this.PFBOBBMELFB = new AMIGGMENHFA();
				}
				this.PFBOBBMELFB.MergeFrom(other.PFBOBBMELFB);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002433 RID: 9267 RVA: 0x0006633D File Offset: 0x0006453D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002434 RID: 9268 RVA: 0x00066348 File Offset: 0x00064548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 80U)
				{
					if (num == 10U)
					{
						if (this.rogueBuffInfo_ == null)
						{
							this.RogueBuffInfo = new MGGJKPGEGLP();
						}
						input.ReadMessage(this.RogueBuffInfo);
						continue;
					}
					if (num == 56U)
					{
						this.ScriptId = input.ReadUInt32();
						continue;
					}
					if (num == 80U)
					{
						this.BEBCFIIABLI = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 3074U)
					{
						AMIGGMENHFA amiggmenhfa = new AMIGGMENHFA();
						if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.PFBOBBMELFB)
						{
							amiggmenhfa.MergeFrom(this.PFBOBBMELFB);
						}
						input.ReadMessage(amiggmenhfa);
						this.PFBOBBMELFB = amiggmenhfa;
						continue;
					}
					if (num == 16258U)
					{
						OJGHBHAIGMG ojghbhaigmg = new OJGHBHAIGMG();
						if (this.bCBECCIHNJECase_ == ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase.IFAJDNNCHMN)
						{
							ojghbhaigmg.MergeFrom(this.IFAJDNNCHMN);
						}
						input.ReadMessage(ojghbhaigmg);
						this.IFAJDNNCHMN = ojghbhaigmg;
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000EA8 RID: 3752
		private static readonly MessageParser<ClockParkUseBuffScRsp> _parser = new MessageParser<ClockParkUseBuffScRsp>(() => new ClockParkUseBuffScRsp());

		// Token: 0x04000EA9 RID: 3753
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000EAA RID: 3754
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04000EAB RID: 3755
		private uint retcode_;

		// Token: 0x04000EAC RID: 3756
		public const int RogueBuffInfoFieldNumber = 1;

		// Token: 0x04000EAD RID: 3757
		private MGGJKPGEGLP rogueBuffInfo_;

		// Token: 0x04000EAE RID: 3758
		public const int BEBCFIIABLIFieldNumber = 10;

		// Token: 0x04000EAF RID: 3759
		private uint bEBCFIIABLI_;

		// Token: 0x04000EB0 RID: 3760
		public const int ScriptIdFieldNumber = 7;

		// Token: 0x04000EB1 RID: 3761
		private uint scriptId_;

		// Token: 0x04000EB2 RID: 3762
		public const int IFAJDNNCHMNFieldNumber = 2032;

		// Token: 0x04000EB3 RID: 3763
		public const int PFBOBBMELFBFieldNumber = 384;

		// Token: 0x04000EB4 RID: 3764
		private object bCBECCIHNJE_;

		// Token: 0x04000EB5 RID: 3765
		private ClockParkUseBuffScRsp.BCBECCIHNJEOneofCase bCBECCIHNJECase_;

		// Token: 0x0200169F RID: 5791
		public enum BCBECCIHNJEOneofCase
		{
			// Token: 0x0400613A RID: 24890
			None,
			// Token: 0x0400613B RID: 24891
			IFAJDNNCHMN = 2032,
			// Token: 0x0400613C RID: 24892
			PFBOBBMELFB = 384
		}
	}
}
